package com.hziee.graduate.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hziee.graduate.ticket.dto.R;
import com.hziee.graduate.ticket.entity.Schedule;
import com.hziee.graduate.ticket.vo.CascaderVO;
import com.hziee.graduate.ticket.vo.EntryVO;
import com.hziee.graduate.ticket.vo.ScheduleVO;

import java.util.List;
import java.util.Map;

public interface ScheduleService extends IService<Schedule> {

    R<List<ScheduleVO>> getScheduleByDate(Map<String, Object> map);

    R<Schedule> delScheduleById(Long scheduleId);

    R<Schedule> addSchedule(Map<String, Object> map);

    R<List<CascaderVO>> getCascaderOptionByMovie(Long movieId, String date, String cityname);

    R<List<EntryVO>> getEntryInfoByCinemaId(Long cinemaId);
}

